#ifndef REQUEST_CREATOR_SERVER_HH
# define REQUEST_CREATOR_SERVER_HH

# include <request/request-creator.hh>

class Client;

class RequestCreatorServer: public RequestCreator
{
public:
  RequestCreatorServer (const int* clientid, Client* c);

  virtual boost::shared_ptr<Request> operator() (RequestType rqtype, const std::string& data);
  virtual boost::shared_ptr<Request> on_error ();

protected:
  const int* id_;
  Client* c_;
};

#endif /// !REQUEST_CREATOR_SERVER_HH
